home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-01 | 2.2 KB | 94 lines | [TEXT/MPS ] |
- //******************************************************************************
- //
- // WindoidDefines.h
- //
- //******************************************************************************
- #ifndef __WindoidDefines__
- #define __WindoidDefines__
-
- //******************************************************************************
- // Conditional Compilation Options
- //------------------------------------------------------------------------------
-
- #define MACAPP_STYLE
-
- #define THICK_TITLEBAR
- // #define TITLE_STRING
-
- #define ALLOW_ZOOM
- // #define ALLOW_VERT
- #define ALLOW_GROW
-
- #define VERS_2_2_COMPATIBLE
-
- //******************************************************************************
- // Combinations
- // These should pretty much remain untouched
- //------------------------------------------------------------------------------
-
- #ifdef VERS_2_2_COMPATIBLE
- #ifndef MFI_ZOOM
- #define MFI_ZOOM
- #endif
-
- #ifndef STAYPUT_ZOOM
- #define STAYPUT_ZOOM
- #endif
- #endif
-
- //------------------------------------------------------------------------------
-
- #ifdef THINK_STYLE
- #ifndef ALLOW_VERT
- #define ALLOW_VERT
- #endif
-
- #ifndef ALWAYS_HILITE
- #define ALWAYS_HILITE
- #endif
-
- #ifdef MACAPP_STYLE
- #undef MACAPP_STYLE
- #endif
- #endif
-
- //------------------------------------------------------------------------------
-
- #ifdef MACAPP_STYLE
- #ifdef ALLOW_VERT
- #undef ALLOW_VERT
- #endif
-
- #ifdef ALWAYS_HILITE
- #undef ALWAYS_HILITE
- #endif
-
- #ifndef ALLOW_GROW
- #define ALLOW_GROW
- #endif
- #endif
-
- //------------------------------------------------------------------------------
-
- #ifdef SYS7_OR_LATER
- #ifndef USE_GESTALT
- #define USE_GESTALT
- #endif
- #endif
-
- //******************************************************************************
- // System version define for the Apple Interfaces
- //------------------------------------------------------------------------------
-
- #ifdef SYS7_OR_LATER
- #define SystemSevenOrLater 1
- #else
- #define SystemSixOrLater 1
- #endif
-
- // This is used so that we can cut down on the code size in MPW. If
- // support for earlier systems is important, get rid of this.
- // Note: for this define to work under THINK C, MacHeaders cannot be used.
-
- //******************************************************************************
- #endif